package com.wsoft.bpm.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Map;

/**
 * @author zhonglj
 * @date 2024-09-19 16:05
 **/
@Schema(title = "流程过程")
@Data
public class RunProcessDTO {

    @Schema(description = "流程定义KEY")
    private String processDefinitionKey;

    @Schema(description = "业务表名")
    private String tableName;

    @Schema(description = "业务表KEY")
    private String businessKey;

    @Schema(description = "用户id")
    private String userId;

    @Schema(description = "参数")
    private Map map;

    @Schema(description = "页码", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer pageNum;

    @Schema(description = "条数", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer pageSize;
}
